import { lazy } from 'react'
import { createBrowserRouter } from 'react-router-dom'

const TransitionDemo = lazy(() => import('../pages/TransitionDemo'))
import Layout from '../layouts'

const router = createBrowserRouter([
  {
    path: '/',
    element: <Layout />,
    children: [
      {
        path: '/transition',
        element: <TransitionDemo />
      }
    ]
  },
  
])

export default router as any
